{%extends 'socialcrm/base.html'%}

{%block content%}
<h3>All Campaigns</h3>
<ul>
{%for campaign in campaigns%}
<li><a href="{% url socialcrm.views.details company.name,view_campaign,campaign.key.id%}">{{campaign.name}}</a></li>
{%endfor%}
</ul>

<a href="{% url socialcrm.views.view company.name,view_new_campaign%}">Add a Campaign</a>
{%endblock%}